﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CarSearchGrid.aspx.cs" Inherits="FantastPlatform.Community.UI.InfoCollection.CarSearchGrid" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
      <script type="text/javascript">
          var csg = new FantastPlatform.UI.CarSearchGrid({
              renderTo: 'csg_div',
              url: '../Service/CarSearchService.aspx?Action=Search',
              border: false,
              width: tabs.getInnerWidth() - 2,
              height: tabs.getInnerHeight() - 2,
              tbar: [{
                  text: '查询',
                  iconCls: 'search',
                  tooltip: {
                      text: '按照条件查询人员信息',
                      title: '查询人员信息',
                      autoHide: true
                  },
                  handler: function () { csg.onSearchClick(); }
              }, '-', {
                  text: '刷新',
                  iconCls: 'updata',
                  tooltip: {
                      text: '重新更新列表内容',
                      title: '列表刷新',
                      autoHide: true
                  },
                  handler: function () { csg.onUpdataCarSearchGridClick(); }
              }, '-', {
                  text: '查看车辆信息',
                  iconCls: 'edit',
                  tooltip: {
                      text: '查看车辆信息',
                      title: '查看车辆信息',
                      autoHide: true
                  },
                  handler: function () { csg.onEditCarCheckGridClick(); }
              }]
          });
          csg.addListener('rowdblclick', function () { csg.onEditCarCheckGridClick(); });
          csg.onUpdataCarSearchGridClick();
    </script>
</head>
<body>
    <div id="csg_div">
    
    </div>
</body>
</html>
